package com.oraro.paygatewaybiz.module.entity;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 
 * 
 * @author jianghuiyong
 * @email 
 * @date 2018-11-26 16:49:40
 */
@TableName("pay_mch")
@Data
public class MchEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 服务ID
	 */
	@TableId(type = IdType.INPUT)
	private Long mchId;
	/**
	 * 服务Key
	 */
	private String mchKey;
	/**
	 * 服务说明
	 */
	@NotBlank(message = "服务商户名不能为空")
	private String mchInfo;
	/**
	 * 状态 0:禁用  1:正常
	 */
	private Integer status;
	/**
	 * 删除状态：0未删除  1已删除
	 */
	@TableLogic
	private Integer delFlag;

}
